﻿{#foreach $T as item}
<tr style="line-height: 25px">
    <td>
        {$T.item$index+1}
    </td>
    <td>{$T.item.Name}</td>
    <td>
        <input type="text" id="txtAuOut" class="formcart2 changeEvent" value="{$T.item.AuOut}" name="" onkeydown="return COMMON.validateDigitQuantity(event)" />
    </td>
    <td>
        <input type="text" id="txtReciveAmount" class="formcart2 changeEvent" value="{$T.item.ReceiveAmount}" name="" onkeydown="return COMMON.validateDigit(event)" style="float: left" />
        {$T.item.Unit}</td> 
    <td>
        <input type="text" id="txtVnd" class="formcart2 changeEvent" value="{$T.item.VndOut}" name="" onkeydown="return COMMON.validateDigitQuantity(event)" style="float: left" />
    </td> 
    <td>
        <select id="ddlStatus" class="changeEvent">
            <option {#if $T.item.IsActiveOut}selected="selected"{#/if} value="1">Kích hoạt</option>
            <option {#if !$T.item.IsActiveOut}selected="selected"{#/if} value="0">Khóa</option>
        </select>
    </td>
    <td style="line-height:16px">
        <div class="adminBox_Control" id="{$T.item.Id}">
            <div class="action" id="btnUpdate" style="background: url(/images/icon_save.gif) no-repeat scroll 3px 3px #C1E4FF;">
                Cập nhật
            </div>
        </div>
    </td>
</tr>
{#/for}      